class CreateComputers < ActiveRecord::Migration
  def self.up
    create_table :computers do |t|
      t.string :name
      t.string :os
      t.string :mac_address
      t.string :ip_address
      t.date :start_date
      t.integer :status
      t.integer :network_id
      t.integer :room_id

      t.timestamps
    end
  end

  def self.down
    drop_table :computers
  end
end
